﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Project.MVC.Model
{
  public  class ProductInfo
    {
      public int Id { get; set; }
      public int CategoryId { get; set; }
      public string Title { get; set; }
      public string Description  { get; set; }
      public List<ImageInfo> ImageList { get; set; }
      //public DateTime TimeInput { get; set; }

      #region List field name for views
      public class ListFieldName
      {
          private ListFieldName() { }
          public const string Id = "Id";
          public const string CategoryId = "CategoryId";
          public const string Title = "Title";
          public const string Description = "Description";          
      }
      #endregion
    }
}
